package cn.net.isir.entity;

import cn.net.isir.core.BasicModel;
import cn.net.isir.core.InsertRequired;

import java.util.Date;
import java.math.BigDecimal;
import java.util.List;

public class Goods  extends BasicModel{
    /**
     * 菜品名称
     */
    private String name;
    /**
     * 店铺id
     */
    @InsertRequired
    private String shopId;
    /**
     * 店铺名称
     */
    private String shopName;
    /**
     * 所属菜品id
     */
    private String categoryId;
    /**
     * 数量单位
     */
    private String unitName;
    /**
     * 菜品简介
     */
    private String introduces;
    /**
     * 是否热卖推广
     */
    private Integer isHotSeal;
    /**
     * 上架状态:onsale/unsold
     */
    private String saleStatus;
    /**
     * 菜品配图
     */
    private String pic;

    public String getPrintScope() {
        return printScope;
    }

    public void setPrintScope(String printScope) {
        this.printScope = printScope;
    }

    /**
     * 打印区域
     */
    private String printScope;
    /**
     * 状态
     */
    private String status;
    /**
     * 创建人
     */
    private String createUser;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新人
     */
    private String updateUser;
    /**
     * 更新时间
     */
    private Date updateTime;
    /**
     * 备注
     */
    private String comment;
    /**
     * 是否可用:0表示不可用，1表示可用
     */
    private Integer isValid;

    /**
     * 小程序展示热门菜品的时候，所展示的价格
     */
    private BigDecimal showFee;

    /**
     * 规格列表--用于新增的时候,页面传递
     */
    private List<GoodsSpecification> specList;

    /**
     * 删除的时候,要删除的id集合
     */
    private String delSpecIds;

    /**
     * 菜品规格名称，用于前台展示
     */
    private String cateName;

    public String getCateName() {
        return cateName;
    }

    public void setCateName(String cateName) {
        this.cateName = cateName;
    }

    public List<GoodsSpecification> getSpecList() {
        return specList;
    }

    public void setSpecList(List<GoodsSpecification> specList) {
        this.specList = specList;
    }

    public String getDelSpecIds() {
        return delSpecIds;
    }

    public void setDelSpecIds(String delSpecIds) {
        this.delSpecIds = delSpecIds;
    }

    public BigDecimal getShowFee() {
        return showFee;
    }

    public void setShowFee(BigDecimal showFee) {
        this.showFee = showFee;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }


    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }


    public String getIntroduces() {
        return introduces;
    }

    public void setIntroduces(String introduces) {
        this.introduces = introduces;
    }


    public Integer getIsHotSeal() {
        return isHotSeal;
    }

    public void setIsHotSeal(Integer isHotSeal) {
        this.isHotSeal = isHotSeal;
    }


    public String getSaleStatus() {
        return saleStatus;
    }

    public void setSaleStatus(String saleStatus) {
        this.saleStatus = saleStatus;
    }


    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }


    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }


    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }


    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }


    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }


    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }


    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }


    public Integer getIsValid() {
        return isValid;
    }

    public void setIsValid(Integer isValid) {
        this.isValid = isValid;
    }

}
